# interlockedButton object example

The following example shows the interlockedButton object:

`<interlockedButton name="InterlockedPushButton1" height="44" width="96" left="18" top="350" visible="true" wallpaper="false" isReferenceObject="false" audio="true" backStyle="solid" borderStyle="raisedInset" borderUsesBackColor="false" borderWidth="4" description="" highlightColor="lime" horizontalMargin="0" verticalMargin="0" shape="rectangle" touch="true" buttonValue="214748694" currentStateId="1" captionOnBorder="False" keyAssignment="F6">`

`<states>`

`<state stateId="0" backColor="navy" borderColor="navy" patternColor="white" patternStyle="none" blink="false">`

`<caption fontFamily="Arial" fontSize="10" bold="false" italic="false" underline="false" strikethrough="false" caption="State0" color="white" backColor="navy" backStyle="transparent" alignment="middleCenter" wordWrap="true" blink="false" />`

`<imageSettings imageName="" alignment="middleCenter" backStyle="transparent" color="white" backColor="navy" scaled="false" blink="false" />`

`</state>`

`<state stateId="1" backColor="black" borderColor="red" patternColor="white" patternStyle="none" blink="false">`

`<caption fontFamily="Arial" fontSize="10" bold="false" italic="false" underline="false" strikethrough="false" caption="Intrlckd State1" color="white" backColor="navy" backStyle="transparent" alignment="middleCenter" wordWrap="true" blink="false" />`

`<imageSettings imageName="" alignment="middleCenter" backStyle="transparent" color="white" backColor="navy" scaled="false" blink="false" />`

`</state>`

`</states>`

`<animations>`

`<animateVisibility expression="TagS2" expressionTrueState="visible" />`

`</animations>`

`<connections>`

`<connection name="Value" expression="TestS2" />`

`</connections>`

`</interlockedButton>`

## See also

Push button objects: interlockedButton object

interlockedButton object attributes and elements